(Zumar) 39 : 49
فَإِذَا مَسَّ الْإِنْسَانَ ضُرٌّ دَعَانَا ثُمَّ إِذَا خَوَّلْنَاهُ نِعْمَةً مِنَّا قَالَ إِنَّمَا أُوتِيتُهُ عَلَىٰ عِلْمٍ ۚ بَلْ هِيَ فِتْنَةٌ وَلَٰكِنَّ أَكْثَرَهُمْ لَا يَعْلَمُونَ

Then if trouble affects a man, he cries out to Us; then if We grant a favor from Us, he will say: Indeed, whatever he is given is due to his knowledge; nay, it is a Trial, but most of them are not knowing.